package com.fans.springaop.dao.impl;

import org.springframework.stereotype.Repository;

import com.fans.springaop.dao.UserDao;
import com.fans.springaop.entity.User;

@Repository
public class UserDaoImpl implements UserDao {

	@SuppressWarnings("static-access")
	@Override
	public User getUserById(String id) {
		User user=new User();
		user.setId("1");
		user.setName("zhangsan");
		user.setSex("男");
		try {
			Thread.currentThread().sleep(4);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		return user;
	}

}
